@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family:  PingFang SC,  Microsoft YaHei,Arial,tahoma,  Hiragino Sans GB, Helvetica Neue, Helvetica;
  background-color: $appBg;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}
p,li,ul,ol,h1,h2,h3,h4,h5,h6{
  padding: 0;
  margin: 0;
}
li{
  list-style: none;
}
#app {
  height: 100%;
  background-color: #fff;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
input::-webkit-input-placeholder {
  font-size: 14px;
}
div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}


h1.title {
  width: 100%;
  height: 60px;
  box-sizing: border-box;
  line-height: 60px;
  margin: 0;
  padding: 0 0 0 30px;
  font-size: $fontSizeLg;
  color: $textColorDark;
  border-bottom: 1px solid $borderColor;
  background-color: #fff;
}
.btn{
  background-color: transparent;
  outline: none;
  border: none;
  color: $textColorDark;
  font-size: 14px;
  min-width: 100px;
  line-height: calc(36 / 14);
  border-radius: 4px;
  background-color: #F6F8F9;
  &-blue{ 
    color: #fff;
    background-color: $mainColor;
  }
}
td{
  .times{
    &::before{
      content: "";
      width: 16px;
      height: 16px;
      display: inline-block;
      margin-right: 4px;
      background: url('../assets/images/icon-hourglass.png') no-repeat center;
      vertical-align: middle;
    }
  }
}
.text-ellipsis{
  display: inline-block;
  max-width: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}